package com.boot.project.dao;

import com.boot.project.domain.UserDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserDao {
    UserDO selectByOpenId(String open_id);

    int updateById(UserDO userDO);

    Boolean insert(UserDO userDO);

    Integer updateIntegral(Map<String, Object> params);

    List<UserDO> allUsers();
    Long getIdByOpenId(String openId);
    Integer getWorkUser(String openId);
    UserDO userBalanceAndIntegral(String openId);
    Integer saveMobile(Map<String, Object> params);


}
